projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda588d
)
gtktoggletoolbutton: Use accessor functions to access GtkToggleButton
author
Javier Jardón
<jjardon@gnome.org>
Tue, 19 Oct 2010 16:45:11 +0000
(18:45 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Tue, 26 Oct 2010 04:07:42 +0000
(06:07 +0200)
gtk/gtktoggletoolbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoggletoolbutton.c
b/gtk/gtktoggletoolbutton.c
index bf6a071a28e9070d07e03f31b286d0096656e45a..e6cea93c9304bbcf5cbe7f28f09770f1826116d8 100644
(file)
--- a/
gtk/gtktoggletoolbutton.c
+++ b/
gtk/gtktoggletoolbutton.c
@@
-291,7
+291,9
@@
static void
button_toggled (GtkWidget *widget,
GtkToggleToolButton *toggle_tool_button)
{
- gboolean toggle_active = GTK_TOGGLE_BUTTON (widget)->active;
+ gboolean toggle_active;
+
+ toggle_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget));
if (toggle_tool_button->priv->active != toggle_active)
{